Part Number Hot Search : 
RT1A040 LTM4642 HVD136 24C04 TLWY8600 30KP120A MR5010L CY7C13
Product Description
Full Text Search
 

To Download MS6821 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
4 Stereo Inputs, 2W BTL Stereo Output 16-bit Stereo DAC and Volume Control
FEATURES
*Operation range: 2.4V~5.5V *Volume control range Gain: 0 to 21dB, 3dB/step Attenuation: 0 to -77.5dB, 1.25dB/step *4 stereo inputs (mixed with an audio DAC) *Output mode : Speaker( BTL)/Headphone(SE) *BTL Output power, THD+N=1%, Stereo Input RL=4 , 2W at 5V, 0.8W at 3.3V, 360mW at 2.4V RL=8 , 1.3W at 5V, 0.53W at 3.3V, 250mW at 2.4V *BTL Output power, DAC Input RL=4 , 1.6W at 5V, 0.70W at 3.3V, 340mW at 2.4V RL=8 , 0.83W at 5V, 0.35W at 3.3V, 170mW at 2.4V *Built-in 16-bit Audio DAC *Audio format : I2S, Right justified, Left justified *Control interface : I2C *Excellent Power Supply Rejection Ratio(PSRR) *Flexibility power management *Component less *Reduce pop noise circuit *Housed in TSSOP28 package, enhanced thermal PAD
APPLICATIONS
Multimedia system, Portable Digital Audio.
DESCRIPTION
The MS6821 is a 16-bits voltage-output Digital-to-Analog Converter (DAC) integrated class AB stereo headphone driver and stereo speaker power amplifier. It can drive 2W of continuous average power into a dual 4 bridged-tied (BTL) speaker or 2 * 90mW into stereo 32 single ended (SE) headphone. The 16-bit DAC supports general and popular formats as I2S, Right justified. The volume control offers wide range of gain and attenuation for 4-set stereo input. All of the functions are set by I2C interface. The MS6821 has good feature for portable equipment, including wide voltage operation 2.4V~5.5V, low power consumption, flexible power management, component less and small package TSSOP28, make the MS6821 ideally suitable for use in the portable digital audio equipments.
BLOCK DIAGRAM
LIN1 LIN2 LIN3 LIN4 Attenuation & Mute Mixer -1 OUTR-
L-ch selector & Gain
-1 RIN4 RIN3 RIN2 RIN1 R-ch selector & Gain Attenuation & Mute
OUTR+
Mixer
-1
OUTL-
BCK WS DATA 16-bit DAC
-1
OUTL+
Supply
I2C Interface
Power Amplifier Supply
VDD
Vss
CAP
DACL / DACR / LINE_INL LINE_INR
SCL SDA
PVDDL PVSSL
PVDDR PVSSR
REV 1.0
1
www.mosanalog.com
MOSA
PIN CONFIGURATION
Symbol WS BCK CAP RIN1 RIN2 RIN3 RIN4 VSS PVDDR OUTROUTR+ GND PVSSR DACR LINE_INR DACL LINE_INL PVSSL GND OUTL+ OUTLPVDDL VDD LIN4 LIN3 LIN2 LIN1 SDA SCL DATA Pin 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Description Audio word select input Audio bit clock input Capacitor connected Right channel input 1 Right channel input 2 Right channel input 3 Right channel input 4 Negative supply voltage Positive supply voltage for right channel of power amplifier SE right channel output or negative output of BTL right channel Positive output of BTL right channel Connected to ground Negative supply voltage for right channel of power amplifier DAC right channel output LINE_IN right channel input DAC Left channel output LINE_IN left channel input Negative supply voltage for left channel of power amplifier Connected to ground Positive output of BTL left channel SE left channel output or negative output of BTL left channel Positive supply voltage for left channel of power amplifier Positive supply voltage Left channel input 4 Left channel input 3 Left channel input 2 Left channel input 1 I2C data input I2C clock input Audio data input BTL: Bridged-Tied Load
WS 1 BCK 2 CAP 3 RIN1 4 RIN2 5 RIN3 6 RIN4 7 VSS 8 PVDDR 9 OUTR- 10 OUTR+ 11 GND 12 PVSSR 13 DACR 14
Thermal Pad
28 DATA 27 SCL 26 SDA 25 LIN1 24 LIN2 23 LIN3 22 LIN4 21 VDD 20 PVDDL 19 OUTL18 OUTL+ 17 GND 16 PVSSL 15 DACL
MS6821, TSSOP28
Note: 1. SE: Single Ended.
REV 1.0
2
www.mosanalog.com
MOSA
ORDERING INFORMATION
Package 28Pin TSSOP (lead free) 28Pin TSSOP (lead free) RoHS Compliance
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Part number MS6821TGTR MS6821TGU
Packaging Marking MS6821G MS6821G
Transport Media 3k Units Tape and Reel 50 Units Tube
ABSOLUTE MAXIMUM RATINGS
Symbol VDD VESD TSTG TA TJ TS RTHJA Supply voltage Electrostatic handling Storage temperature range Operating ambient temperature range Maximum junction temperature Soldering temperature, 10 seconds Thermal resistance from junction to ambient in free air TSSOP28 (enhance thermal pad) Parameter Rating 6 2000 -65 to 150 -40 to 85 150 260 51 Unit V V /W
OPERATING RATINGS
Symbol VDD Supply voltage Parameter Min 2.4 Typ 5 Max 5.5 Unit V
REV 1.0
3
www.mosanalog.com
MOSA
Symbol DC Characteristics VCAP VDC Voltage at CAP Output DC level Parameter
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
5V ELECTRICAL CHARACTERISTICS
(Ta=25, VDD=5V, VSS=0V, f=1kHz; unless otherwise specified) Conditions Min 0.5VDD -0.05 0.5VDD -0.05 Typ Max 0.5VDD +0.05 0.5VDD +0.05 0.3 uA -90 Gain Attenuation 0 -77.5 2 0.8 BTL Mode , RL=8 CAP=1uF, f=200Hz SE Mode , RL=32 CAP=1uF, f=200Hz BTL Mode, RL=8 Po=1W SE Mode, RL=32 Po=60mW SE mode, RL=32, 60mW SE mode, A-weighting, 75mW BTL Mode, RL = 4 THD+N = 1% BTL Mode, RL = 8 THD+N = 1% SE Mode, RL = 32 THD+N = 0.1% 3 1.25 0.3 21 0 dB dB dB dB dB dB V V mA Unit
0.5VDD 0.5VDD 13.0 9.8 9.9 6.7 8.2 6.6 3.2 12
V V
All devices are active, BTL All devices are active, SE DAC PD, BTL IQ Quiescent current DAC PD, SE L-ch (R-ch) PD, BTL DAC active L-ch (R-ch) PD, SE DAC active Only DAC is active All devices power down All devices power down, except CAP=1/2 VDD
IPD ATT GARAN GSTEP ASTEP EGA VI2CH VI2CL
Power down current Mute attenuation Gain/Attenuation range Gain step Attenuation step Gain/Attenuation step error Serial interface high input level Serial interface low input level
AC Characteristics (Stereo input) 61 65 78 81 -65 0.0562 93 2 1.3 93m dB dB dB dB dB % dB W W W PSRR Power supply rejection ratio
CS
Channel separation
THD+N S/N
Total harmonic distortion plus Noise Signal-to-noise ratio
Po
Maximum output power
PD: Power Down
REV 1.0
4
www.mosanalog.com
MOSA
Symbol Res VFSDAC PSRR CS THD+N S/N Resolution Parameter Audio DAC Characteristics
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Conditions
Min -
Typ VFS 66 67 88
Max 16 VFS+1.5% -62 0.079 -
Unit bits V dB dB dB % dB W W W
(sampling rate=4fs, fs= 44.1kHz, f=1kHz) VFS=0.72 * VDD CAP=1uF (200Hz) CAP=10uF (200Hz) 86 1.44 0.75 41.4m VFS-1.5%
Full scale output voltage of DAC Power supply rejection ratio Channel separation Total harmonic distortion plus noise Signal-to-noise ratio
DAC output, RL=1k, VFS DAC output, RL=1k, VFS A-weighting BTL Mode, RL = 4 THD+N = 0.33% BTL Mode, RL = 8 THD+N = 0.15 % SE Mode, RL = 32 THD+N = 0.042%
-67 0.0447 90 1.6 0.83 46m
DACPo
Maximum output power using DAC
3.3V ELECTRICAL CHARACTERISTICS
(Ta=25, VDD=3.3V, VSS=0V, f=1kHz; unless otherwise specified) Symbol DC Characteristics All devices are active, BTL All devices are active, SE DAC PD, BTL IQ Quiescent current DAC PD, SE L-ch (R-ch) PD, BTL DAC active L-ch (R-ch) PD, SE DAC active Only DAC is active 11.5 8.5 9 6 7.1 5.6 2.6 -67 0.0447 0.8 0.53 35m 60 0.1 dB % W W W mA Parameter Conditions Min Typ Max Unit
AC Characteristics (Stereo input) THD+N Total harmonic distortion plus Noise SE mode, RL=32, 35mW
BTL Mode, RL = 4 THD+N = 1% BTL Mode, RL = 8 Po Maximum output power THD+N = 1% SE Mode, RL = 32 THD+N = 0.1% Audio DAC Characteristics (sampling rate=4fs, fs= 44.1kHz, f=1kHz) THD+N Total harmonic distortion plus noise DAC output, RL=1k, VFS BTL Mode, RL = 4 THD+N = 0.25% BTL Mode, RL = 8 THD+N = 0.14 % SE Mode, RL = 32 THD+N = 0.052%
5
0.63 0.32 18m
-66 0.05 0.70 0.35 20m
60 0.1 -
dB % W W W
DACPo
Maximum output power using DAC
REV 1.0
www.mosanalog.com
MOSA
Symbol DC Characteristics Parameter
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
2.4V ELECTRICAL CHARACTERISTICS
(Ta=25, VDD=2.4V, VSS=0V, f=1kHz; unless otherwise specified) Conditions All devices are active, BTL All devices are active, SE DAC PD, BTL IQ Quiescent current DAC PD, SE L-ch (R-ch) PD, BTL DAC active L-ch (R-ch) PD, SE DAC active Only DAC is active Min Typ 9.9 7.1 7.8 5.1 6 4.7 2.2 -65 0.0562 0.36 0.25 15m Max -60 0.1 dB % W W W mA Unit
AC Characteristics (Stereo input) THD+N Total harmonic distortion plus Noise SE mode, RL=32, 15mW
BTL Mode, RL = 4 THD+N = 1% BTL Mode, RL = 8 Po Maximum output power THD+N = 1% SE Mode, RL = 32 THD+N = 0.1% Audio DAC Characteristics (sampling rate=4fs, fs= 44.1kHz, f=1kHz) THD+N Total harmonic distortion plus noise DAC output, RL=1k, VFS BTL Mode, RL = 4 THD+N = 0.85% BTL Mode, RL = 8 THD+N = 0.17 % SE Mode, RL = 32 THD+N = 0.07%
0.31 0.15 9m
-63 0.071 0.34 0.17 10m
-58 0.126 -
dB % W W W
DACPo
Maximum output power using DAC
REV 1.0
6
www.mosanalog.com
MOSA
(Ta=25; unless otherwise specified)
BTL
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
TYPICAL PERFORMANCE CHARACTERISTICS
QUIESCENT CURRENT (mA)
QUIESCENT CURRENT (mA)
BTL
SE
QUIESCENT CURRENT (mA)
BTL
SE
SE
All Devices activate.
All Devices activate except DAC
LPD or RPD DAC activates.
SUPPLY VOLTAGE (V)
SUPPLY VOLTAGE (V)
SUPPLY VOLTAGE (V)
Quiescent current vs. supply voltage
Quiescent current vs. supply voltage
Quiescent current vs. supply voltage
QUIESCENT CURRENT (mA)
DAC activates only
SUPPLY VOLTAGE (V)
Quiescent current vs. supply voltage
REV 1.0
7
www.mosanalog.com
MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Stereo inputs signal (Ta=25, stereo inputs signal, f=1kHz, DAC is Power Down mode; unless otherwise specified)
THD+N (%)
THD+N (%)
VDD=5V, Po=2W BTL mode, RL=4
VDD=3.3V, Po=0.8W BTL mode, RL=4
THD+N (%)
VDD=2.4V, Po=330mW BTL mode, RL=4
FREQUENCY (Hz)
FREQUENCY (Hz)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N vs. frequency
THD+N vs. frequency
THD+N (%)
THD+N (%)
VDD=5V, Po=1.2W BTL mode, RL=8
VDD=3.3V, Po=0.53W BTL mode, RL=8
THD+N (%)
VDD=2.4V, Po=250mW BTL mode, RL=8
FREQUENCY (Hz)
FREQUENCY (Hz)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N vs. frequency
THD+N vs. frequency
THD+N (%)
THD+N (%)
VDD=5V, Po=90mW SE mode, RL=32
VDD=3.3V, Po=35mW SE mode, RL=32
THD+N (%)
VDD=2.4, Po=15mW SE mode, RL=32
FREQUENCY (Hz)
FREQUENCY (Hz)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N vs. frequency
THD+N vs. frequency
REV 1.0
8
www.mosanalog.com
MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
f=20kHz f=20kHz
f=20kHz
THD+N (%)
THD+N (%)
f=1kHz
f=1kHz
THD+N (%)
f=1kHz
f=20Hz f=20Hz VDD=5V BTL mode RL=4 VDD=3.3V BTL mode RL=4 f=20Hz VDD=2.4V BTL mode RL=4
OUTPUT POWER (W)
OUTPUT POWER (W)
OUTPUT POWER (W)
THD+N vs. output power
THD+N vs. output power
THD+N vs. output power
f=20kHz f=20kHz
f=20kHz
THD+N (%)
THD+N (%)
f=1kHz
f=20Hz
THD+N (%)
f=1kHz
f=1kHz
f=20Hz
f=20Hz
VDD=5V BTL mode RL=8
VDD=3.3V BTL mode RL=8
VDD=2.4V BTL mode RL=8
OUTPUT POWER (W)
OUTPUT POWER (W)
OUTPUT POWER (W)
THD+N vs. output power
THD+N vs. output power
THD+N vs. output power
f=20kHz f=20kHz f=20kHz
THD+N (%)
THD+N (%)
f=20Hz
f=20Hz f=1kHz
THD+N (%)
f=20Hz
f=1kHz
f=1kHz
VDD=5V SE mode RL=32
VDD=3.3V SE mode RL=32
VDD=2.4V SE mode RL=32
OUTPUT POWER (W)
OUTPUT POWER (W)
OUTPUT POWER (W)
THD+N vs. output power
THD+N vs. output power
THD+N vs. output power
REV 1.0
9
www.mosanalog.com
MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
CHANNEL SEPARATION (dB)
VDD=5V, Po=1W BTL, RL=8
CHANNEL SEPARATION (dB)
VDD=5V, Po=60mW SE, RL=32
FREQUENCY (Hz)
FREQUENCY (Hz)
Channel separation vs. frequency
Channel separation vs. frequency
CAP=10uF CAP=10uF CAP=1uF
CAP=1uF
PSRR (dB)
VDD=5V, VRR=200mVrms, BTL RL=8
PSRR (dB)
VDD=5V, VRR=200mVrms, SE RL=32
FREQUENCY (Hz)
FREQUENCY (Hz)
PSRR vs. frequency
PSRR vs. frequency
REV 1.0
10
www.mosanalog.com
MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
DAC inputs signal (Ta=25, sampling rate=4fs, fs= 44.1kHz, f=1kHz, PA is Power Down mode; unless otherwise specified)
THD+N (%)
THD+N (%)
VDD=5V DAC VFS
VDD=3.3V, VFS DAC VFS
THD+N (%)
VDD=2.4V, VFS DAC VFS
FREQUENCY (Hz)
FREQUENCY (Hz)
FREQUENCY (Hz)
THD+N vs. frequency
THD+N vs. frequency
THD+N vs. frequency
CAP=10uF
CHANNEL SEPARATION (dB)
CAP=1uF
PSRR (dB)
VDD=5V DAC VFS
VDD=5V VRR=0.2Vrms .22dBV
SUPPLY VOLTAGE (V)
FREQUENCY (Hz)
Channel separation vs. supply voltage
PSRR vs. frequency
REV 1.0
11
www.mosanalog.com
MOSA
AUDIO TIMING AND FORMAT
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
The MS6821 accepts input serial data formats of 16-bit word length. Left and right data words are time multiplexed. The MSB must always be first.
LEFT RIGHT tr tHB tf tLB tHW tSW
WS
BCK
tcr LSB tSD MSB tHD
DATA
Audio data format (BCK, WS, DATA) Parameter Symbol VIL VIH Input LOW level Input HIGH level Input Clock Frequency Bit Rate Data Input Word Select Input Rise Time Fall Time Bit Clock Cycle Time Bit Clock High Time Bit Clock Low Time Data Set-up Time Data Hold Time to Bit Clock Word Select Hold Time Word Select Set-up Time
Conditions
Min 2 54 15 15 12 2 2 12
Typ -
Max 0.8 18.4 18.4 384 12 12 -
Unit V V MHz Mbits/s kHz ns ns ns ns ns ns ns ns ns
f BCK
BR
fWS
tr tf t Cr t HB t LB t SD t HD t HW t SW
REV 1.0
12
www.mosanalog.com
MOSA
Right justified format
WS
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
LEFT RIGHT
BCK
DATA 2
1
0
15 MSB
14
13
2
1
0 LSB
15 MSB
14
13
2
1
0 LSB
Left justified format
WS
LEFT RIGHT
BCK
DATA
15 MSB
14
13
2
1
0 LSB
15 MSB
14
13
2
1
0 LSB
15 MSB
I2S format
WS
LEFT
RIGHT
BCK
1 BCK 1 BCK
DATA
15 MSB
14
13
2
1
0 LSB
15 MSB
14
13
2
1
0 LSB
REV 1.0
13
www.mosanalog.com
MOSA
I2C CONTROL INTERFACE
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Data are transmitted to and from the MCU to the MS6821 via the SDA and SCL. The SDA and SCL make up the BUS interface. It should be noted that pull-up resistors must be connected to the positive supply voltage.
VDD
Rp Rp
Pull up resistors
SDA (Serial Data Line)
SCL (Serial Clock Line)
MCU
MS6821
I2C interface protocol The format consists of the following: *A START condition *A chip address byte including the chip address. (7bits) *The 8th bit of the byte must be "0".(write=0, read=1) *The chip must always acknowledge the end of each transmitted byte. *A data sequence (N-bytes + Acknowledge) *A STOP condition
SDA
SCL S START CONDITION
1-7
8
9
1-7
8
9
1-7
8
9 P
ADDRESS
R/W
ACK
DATA
ACK
DATA
ACK
STOP CONDITION
I2C chip address 88H
1 0 0 0 1 0 0 0 W
7 bits address
REV 1.0
14
www.mosanalog.com
MOSA
I2C data bytes description MSB 0 0 1 1 1 1 0 1 0 0 1 1 B2 B2 0 1 0 1 B1 B1 G2 G2 DAC PD
S/B
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
LSB B0 B0 G1 G1 RPD
MixL
Function L-ch, Attenuation and Mute R-ch, Attenuation and Mute L-ch, Input Gain and line Selection R-ch, Input Gain and line Selection Power Down Mode Output mode (SE/BTL), Mixer control and Audio format
A2 A2 G0 G0 LPD
MixR
A1 A1 S1 S1 PDPR
AF1
A0 A0 S0 S0 CAP PD
AF0
Where Ax = 1.25dB/step; Bx = 10dB/step; Gx = 3dB/step
Attenuation and Mute MSB 0 0 0 1 B2 B1 B0 A2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1 1 A1 0 0 1 1 0 0 1 1 LSB A0 0 1 0 1 0 1 0 1 Function L-ch, Attenuation and Mute R-ch, Attenuation and Mute 0 dB -1.25 dB -2.5 dB -3.75 dB -5 dB -6.25 dB -7.5 dB -8.75 dB 0 dB -10 dB -20 dB -30 dB -40 dB -50 dB -60 dB -70 dB Mute
1 1 1 1 Initial state: Both L-ch and R-ch are mute-on.
REV 1.0
15
www.mosanalog.com
MOSA
Input Selector and Input Gain MSB 1 1 0 0 0 1 G2 G1 G0
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
LSB S1 0 0 1 1 0 0 0 0 1 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 S0 0 1 0 1
Function L-ch, Input Gain and line Selection R-ch, Input Gain and line Selection Line 1 (L-ch or R-ch) Line 2 (L-ch or R-ch) Line 3 (L-ch or R-ch) Line 4 (L-ch or R-ch) 0 dB 3 dB 6 dB 9 dB 12 dB 15 dB 18 dB 21 dB
1 1 1 Initial state: L-ch1, R-ch1, Input gain is 0dB.
Power Down Mode MSB 1 1 0 DAC PD 0 1 0 1 0 1 0 1 0 1 RPD LSB CAP LPD PDPR PD Function Power mode selection and power management DAC is active mode DAC is power down mode R-ch PA output is active mode R-ch PA output is power down mode L-ch PA output is active mode L-ch PA output is power down mode Disable preparation for power off Enable preparation for power off Set the voltage of CAP to middle of supply voltage Pull down CAP pin to ground
Initial state: All are the power down modes. Enable the power down preparation before the chip will be shut down.
Attenuation & Mute
Mixer
-1 -1
LPD
L-ch selector & Gain
R-ch selector & Gain
Attenuation & Mute
Mixer
-1 -1
RPD
16-bit DAC
DACPD
REV 1.0
16
www.mosanalog.com
MOSA
MSB 1 1 1
S/B MixL
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Output mode (SE/BTL), Mixer control and Audio format LSB
MixR AF1 AF0
Function Output mode, mixer control and audio format Output mode is BTL Output mode is SE
0 1 0 1 0 1 0 1 0 0 0 1
L-ch of input selector is the only signal Mix L-ch of input selector and L-ch of DAC R-ch of input selector is the only signal Mix R-ch of input selector and R-ch of DAC Right justified format Left justified format
I2S format 1 1 Initial state: Output mode is BTL mode, unmixed mode and Right justified format
I2C Initial code and status MSB 0 0 1 1 1 1 0 1 0 0 1 1 1 1 0 1 0 1 1 1
0 0 1 0
LSB 1 1
0 0 1 0
Function L-ch, Attenuation and Mute R-ch, Attenuation and Mute L-ch, Input Gain and line Selection R-ch, Input Gain and line Selection Power Down Mode Output mode (SE/BTL), Mixer control and Audio format
Initial status Mute On Mute On Line1, 0dB Line1, 0dB All devices power down BTL, Unmixed, Right justified
1 1
0 0 1 0
1 1
0 0 1 0
1 1
0 0 1 0
REV 1.0
17
www.mosanalog.com
MOSA
I2C CODE EXAMPLE
Input selector and input gain
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Set left channel to be line-4 and input gain to be 3dB. Set right channel to be line-4 and input gain to be 3dB.
Gain Start MS6821 Address ACK 1 0 0 0 0 1 1 1 ACK 1 0 1 0 0 1 Line 1 1 ACK Stop
L-ch = Line4, G = 3dB
R-ch = Line4, G = 3dB
The left and right input channel are independent.
Volume control Set left channel to be -15dB and right channel to be 30dB.
Gain Start MS6821 Address ACK 1 0 0 0 0 1 1 1 ACK 1 0 1 0 0 1 Line 1 1 ACK Stop
L-ch = Line4, G = 3dB
R-ch = Line4, G = 3dB
Power down mode Set built-in DAC to be power down mode.
DACPD Start MS6821 Address ACK 1 1 0 1 0 0 0 0 ACK Stop
DAC power down
Output mode, mixer control and audio format Set output mode to be SE mode, audio format is I2S, and both input channel to be mixed.
Output mode Start MS6821 Address ACK 1 1 1 1 Mixer 1 1 0 1 Audio format ACK Stop
SE mode, All mix, I2S
x
REV 1.0
18
www.mosanalog.com
MOSA
OPERATION PROCEDURE
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
The sequence of operation: power on activating power down activating power off. The basic flowcharts are as follows: For HP mode and HP/BTL mode
Power On Activating Power Down (Shut Down ) Power Off
All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA) V DD = GND
Setting Input Gain IsFixed [ Enable Input & Input Gain ] Code: Lch 100xxx00 Rch 101xxx00
Volume Down To Mute Input Channels Mute On [ Attenuation and Mute ] Code: Lch 00111111 (3Fh) Rch 01111111 (7Fh)
Volume Down To Mute Input Channels Mute On [ Attenuation and Mute ] Code: Lch 00111111 (3Fh) Rch 01111111 (7Fh)
Disable Power Down Power Down Preparation Power On V DD = Supply voltage [ Power Down Mode ] Code: 11000010 (C2h) Wait 0.5 sec [ Power Down Mode ] Code: 11000010 (C2h) [ Input4 & Gain = 0dB] Code: Lch 10000011 (83h) Rch 10100011 (a3h) wait 7 sec
Power Down Preparation [ Power Down Mode ] Code: 11000010 (C2h) [ Input4 & Gain = 0dB] Code: Lch 10000011 (83h) Rch 10100011 (a3h) wait 7 sec
Default Status [Attenuation & Mute] Mute on (max attenuation) [ Input Selector & Input Gain ] L-ch1, R-ch1 0dB [ Power Down Mode ] All power down status [ Output Mode & Mixer & Format ] BTL mode Inputs not mixed with DAC signal RJF format
PDPR = 0 [ Power Down Mode ] Code: 11000000 (C0h) Wait 0.5 sec
Power Down All The Devices Only CAPPD Keep Activating [ Power Down Mode ] Code: 11011110 (DEh)
Power Down All The Devices Pull Down CAP Pin To Ground [ Power Down Mode ] Code: 11011111 (DFh)
Mute Off And Volume Up/Down Step By Step [ Attenuation and Mute ] Code: Lch 00xxxxxx Rch 01xxxxxx All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA)
Keep All The Digital Interface Signals Unchanged
Power Off Disconnect V DD VDD will be fell down to 0V
REV 1.0
19
www.mosanalog.com
MOSA
For BTL mode only
Power On
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Activating
Power Down (Shut Down )
Power Off
All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA) V DD = GND
Setting Input Gain IsFixed [ Input Gain ] Code: Lch 100xxx00 Rch 101xxx00
Volume Down To Mute Input Channels Mute On [ Attenuation and Mute ] Code: Lch 00111111 (3Fh) Rch 01111111 (7Fh)
Volume Down To Mute Input Channels Mute On [ Attenuation and Mute ] Code: Lch 00111111 (3Fh) Rch 01111111 (7Fh)
Disable Power Down Power On V DD = Supply voltage Pull Down CAP Pin To Ground [ Power Down Mode ] Code: 11000000 (C0h) Wait 0.5 sec [ Power Down Mode ] Code: 11000001 (C1h) Wait 0.1 sec
Pull Down CAP Pin To Ground [ Power Down Mode ] Code: 11000001 (C1h) Wait 0.1 sec
Default Status [Attenuation & Mute] Mute on (max attenuation) [ Input Selector & Input Gain ] L-ch1, R-ch1 0dB [ Power Down Mode ] All power down status [ Output Mode & Mixer & Format ] BTL mode Inputs not mixed with DAC signal RJF format Keep All The Digital Interface Signals Unchanged All the Digital Interface Signals Pull Low I2C pull low Audio inputs pull low (BCK, WS, DATA) Mute Off And Volume Up/Down Step By Step [ Attenuation and Mute ] Code: Lch 00xxxxxx Rch 01xxxxxx Power Down All The Devices [ Power Down Mode ] Code: 11011111 (DFh) Power Down All The Devices [ Power Down Mode ] Code: 11011111 (DFh)
Power Off Disconnect V DD VDD will be fell down to 0V
REV 1.0
20
www.mosanalog.com
MOSA
APPLICATION INFORMATION
A base application circuit
MS6821 2.4~5.5V Supply
21
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
VDD VSS CAP SCL SDA
PVDDL PVSSL PVSSR PVDDR
19 16 10
1uF
0.1uF 4.7uF
8
1uF
2.4~5.5V Power Amplifier Supply
3 27
1uF
13
MCU
28
VDD 10uF
15 14
2
BCK WS DATA LIN1 LIN2 LIN3 LIN4 RIN1 RIN2 RIN3 RIN4
DACL DACR
100k 100k HP_sense 10uF 100uF 1uF MCU
Audio Decoder 10uF
1 28
25 24
OUTLOUTL+
20
L channel
23 22 4 5
18
RL 8 100uF
1k
Headphone Jack
OUTROUTR+
9
R channel
6 7
11
RL 8
1k
10uF
Using LINE_IN function -- Built-in DAC power down There are two functions at pin14 and pin15, one is built-in DAC output channel, and the other is LINE_IN. The DAC must be power down if the two pins are operated in LINE_IN function.
LIN1 LIN2 LIN3 LIN4
L-ch selector & Gain
Attenuation & Mute
Mixer
RIN4 RIN3 RIN2 RIN1
R-ch selector & Gain
Attenuation & Mute
Mixer
Po
D 16-bitrDAC e w
n ow
15 LINE_INL
14 LINE_INR
Audio signal
REV 1.0
21
www.mosanalog.com
MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
Output mode operation -- SE mode and BTL mode The output mode has two modes, SE mode and BTL mode. The mode is selected by I2C code via a MCU. In BTL mode, the outputs of A1(B1) and A2(B2) are then used to drive the bridged-tied load
A1 -1 A2 -1 B1 -1 B2 -1 OUTL+ OUTLRL 4 / 8 OUTR+ OUTRRL 4 / 8
I2C Interface
SCL SDA
In the SE mode, the amplifiers A2 and B2 are shutdown, and then the amplifiers will be a high output impedance state.
A1 -1 A2 Shutdown -1 B1 -1 OUTL100uF 1k B2 Shutdown -1 OUTR100uF 1k
Headphone Jack RL 16 / 32
I2C Interface
SCL SDA
Headphone sense The output mode is SE or BTL that is decided by a headphone. It has to be set SE mode when a headphone is plug-in status. The output mode is selected by I2C command code by a MCU. Please note that the MS6821 don't detect a headphone automatically. Thus a detect function is executed via a MCU. An operation diagram is as follows:
MS6821
27 28
VDD 100k MCU 100k 1uF HP_sense
SCL SDA
100uF OUTLOUTL+
20
18
RL 8 100uF
1k
Headphone Jack
OUTROUTR+
9
11
RL 8
1k
The HP_sense pin is high when a headphone is plug-in. The HP_sense pin is low when a headphone is not plug-in.
REV 1.0 22
www.mosanalog.com
MOSA
EXTERNAL DIMENSIONS
TSSOP28 (Thermal Pad)
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
D
D2 Detail A
E2
E1 E
C
A2
A
A1 B L L1
e
y
Dimension in mm
Symbol
Dimension in inches Min
0.000 0.031 0.007 0.004 0.378 0.146 0.244 0.169 0.106 0.018 0.035 0
o
Min
A A1 A2 b C D D2 E E1 E2 0.00 0.80 0.19 0.09 9.60 3.70 6.20 4.30 2.70 0.45 0.90 0
o
Nom
1.00 9.70 3.80 6.40 4.40 2.80 0.65 0.60 1.00 -
Max
1.15 0.10 1.05 0.30 0.20 9.80 3.90 6.60 4.50 2.90 0.75 1.10 8
o
Nom
0.039 0.382 0.150 0.252 0.173 0.110 0.026 0.024 0.039 -
Max
0.045 0.004 0.041 0.012 0.008 0.386 0.154 0.260 0.177 0.114 0.030 0.043 8
o
e
L L1 y
-
0.10
-
0.004
REV 1.0
23
www.mosanalog.com
MOSA
DEMO BOARD
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
1
2
3
8 7
4
5
6
Function description Label 1: Supply Input Supply voltage range is 2.4V to 5.5V. Label 2: Headphone Jack Used 3.5mm diameter of headphone with 32ohm Label 3: DAC output Connected to a post-power-amplifier, as active speaker. In addition, using volume control for DAC, this output can connected to input section (label 6) as feedback. Label 4: Speaker Output Connected to speaker with 8ohm or 4 ohm Label 5: Digital Signal Input Connected to digital audio formats as I2S, Right Justified and Left Justified. Label 6: Signal Input There are four stereo inputs in the section. Please input stereo audio signal, as music or sine wave. Label 7: Reset All I/O pins are reset to default values. Label 8: LED Indicator The LEDs indicate the chip status and IR received status. It keeps on a light state when the MS6821 is active. The other hand, keeps on a dark state when the MS6821 is power-off. It is red-dark blink once when the MCU has received the function code correctly.
REV 1.0
24
www.mosanalog.com
MOSA
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
SE mode and BTL mode operation The headphone controls operational mode. System enters SE mode when headphone jack is empty. When a set of headphone plugged into the jack, the system switched to BTL mode.
IR Controller
Power ON/OFF : The power key. Press the key once to set power-on or power-off for MS6821. IN1~IN4 : Analog input channel. Press the key once to select input channel. The default state is IN1. VOL+, VOL- : The volume control keys. The volume control in 1.25dB/step as the switch is pressed once, the range is -77.5dB to 0dB. The default value is -20dB. Gain+, Gain- : The gain control keys. The gain control in 3dB/step as the switch is pressed once, the range is 0dB to 21dB. The initial value is 0dB. Mute : The mute key Press the key once to set mute-on or mute-off. The default state is mute-off. PD/Active : The power down key. Press the key once to set power-down or activation for MS6821. Mix_LR ON/OFF : The mixing DAC signal keys. Mix_L ON, mixed the left channel of DAC with the left channel of input signal. Mix_R OFF, unmixed the right channel of DAC with the right channel of input signal. I2S, LJF, RJF: The digital input format keys. There are three formats can be selected that is I2S, Left justified and Right justified.
REV 1.0 25
www.mosanalog.com
MOSA
Circuit
J1 1 2 DVDD + C3 0.1u J13 1 2 3 LCD W2 JUMP DGND J2 1 2 AVCC AVCC + C8 0.1u J3 1 2 3 4 DAC_IN J4 R L G R L G R L G R L G 1 2 3 1 2 3 1 2 3 1 2 3 C11 R10 R11 1K 1K C13 C14 R12 R13 1K 1K C15 C16 R14 R15 1K 1K C20 C22 R16 R17 1K 1K C23 R5 R6 R7 1K 1K 1K C10 0.47u 10u 10u 10u 10u 10u 10u 10u 10u + C9 1u RX TX C6 + AVDD + C4 1u R3 10K 20P 2 Y1 24M C7 20P 1 + RST
MS6821
4 Stereo inputs / 2W PA output integrated Audio DAC and Volume Control
R1 S1 R2 10K IR_IN IN1 D1 IN2 D2 IN3 D3 IN4 D4 R22 100K + C5 470P
220 C1 + 47u 1 2 3 Q1 VS GND IR IR AGND W1 Jumper DGND
+ C2 10u U1 1 RX 2 3 TX 4 5 IR_IN 6 SCL 7 8 SDA HP_IN 9 10 RST P3.0 P3.1 XTAL2 XTAL1 P3.2 P3.3 P3.4 P3.5 GND AT89C4051 Vcc P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 P3.7 20 19 18 17 16 15 14 13 12 11
R18 R19 R20 R21 1K 1K 1K 1K
DGND
R4 C12 + 1u
100K
U2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 + + C21 1u + R8 1K J10 1 2 3 DAC_OUT J12 R L G DAC_OUT 1 2 3 C24 100u C25 100u WS BCK REF R1 R2 R3 R4 Vss PVDDR -OUTR +OUTR GND PVSSR DAC_R MS6821 DATA SCL SDA L1 L2 L3 L4 VDD PVDDL -OUTL +OUTL GND PVSSL DAC_L 28 27 26 25 24 23 22 21 20 19 18 17 16 15 SCL SDA
IN1 J5
+
+
+
+
SP1 + SPK_R C19 100u
SP2 SPK_L + C18 100u L HP R G HEADPHONE J9 R9 1K 1 2 3 OUT
IN2 J6
+
+ C17 1u
IN3 J8
+
+
IN4
AGND
+
+
REV 1.0
26
www.mosanalog.com


▲Up To Search▲   

 
Price & Availability of MS6821

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X